if((NOT LITE_WITH_OPENCL AND NOT LITE_WITH_FPGA AND NOT LITE_WITH_MLU AND NOT LITE_WITH_NNADAPTER) AND (LITE_WITH_X86 OR LITE_WITH_ARM))
    lite_cc_test(sgemm_compute_test SRCS sgemm_compute_test.cc)
    lite_cc_test(sgemv_compute_test SRCS sgemv_compute_test.cc)
    lite_cc_test(sgemm_c4_compute_test SRCS sgemm_c4_compute_test.cc)
    lite_cc_test(gemm_int8_compute_test SRCS gemm_int8_compute_test.cc)
    lite_cc_test(gemv_int8_compute_test SRCS gemv_int8_compute_test.cc)
    lite_cc_test(conv_compute_test SRCS conv_compute_test.cc)
    lite_cc_test(conv_transpose_compute_test SRCS conv_transpose_compute_test.cc)
    lite_cc_test(conv_int8_compute_test SRCS conv_int8_compute_test.cc)
    lite_cc_test(pool_compute_test SRCS pool_compute_test.cc)
    #lite_cc_test(deformable_conv_compute_test SRCS deformable_conv_compute_test.cc)
    lite_cc_test(sparse_conv_int8_compute_test SRCS sparse_conv_int8_compute_test.cc)
    lite_cc_test(sparse_conv_f32_compute_test SRCS sparse_conv_f32_compute_test.cc)

    if(LITE_WITH_X86)
        lite_cc_test(x86_gemm_s8u8_compute_test SRCS x86_gemm_s8u8_compute_test.cc)
        lite_cc_test(x86_conv_int8_compute_test SRCS x86_conv_int8_compute_test.cc)
        if(WITH_AVX AND AVX_FOUND)
          if(WIN32)
              set_target_properties(x86_gemm_s8u8_compute_test PROPERTIES COMPILE_FLAGS "/arch:AVX2 /DAVX2 /fp:strict")
              set_target_properties(x86_conv_int8_compute_test PROPERTIES COMPILE_FLAGS "/arch:AVX2 /DAVX2 /fp:strict")
          else()
              set_target_properties(x86_gemm_s8u8_compute_test PROPERTIES COMPILE_FLAGS "-mfma -mf16c -mavx2")
              set_target_properties(x86_conv_int8_compute_test PROPERTIES COMPILE_FLAGS "-mfma -mf16c -mavx2")
          endif()
        endif()
    endif()

    if(LITE_BUILD_EXTRA)
        lite_cc_test(deformable_conv_compute_test SRCS deformable_conv_compute_test.cc)
        lite_cc_test(layout_compute_test SRCS layout_compute_test.cc)

    endif()
    if (LITE_WITH_ARM82_FP16)
        if(${ANDROID_NDK_MAJOR})
          if(${ANDROID_NDK_MAJOR} GREATER "17")
            lite_cc_test(conv_fp16_compute_test SRCS conv_fp16_compute_test.cc)
            lite_cc_test(fc_fp16_compute_test SRCS fc_fp16_compute_test.cc)
            lite_cc_test(gemm_fp16_compute_test SRCS gemm_fp16_compute_test.cc)
            lite_cc_test(gemv_fp16_compute_test SRCS gemv_fp16_compute_test.cc)
            lite_cc_test(pool_fp16_compute_test SRCS pool_fp16_compute_test.cc)
            lite_cc_test(softmax_fp16_compute_test SRCS softmax_fp16_compute_test.cc)
            lite_cc_test(sparse_conv_f16_compute_test SRCS sparse_conv_f16_compute_test.cc)
          endif()
        endif()
      endif()  

endif()
